<aside id="side" class="side">
    <div class="side-item">
        <h4 class="side-title">文章分类</h4>
        <ul id="category-side-list">
            <? foreach($sideCategories as $c):?>
                <li><a class="category-name" href="<?=$baseUrl.'category/'.$c->slug.'/'?>"><?=$c->name?></a>
                    <span class="category-count">(<?=$c->countNum?>)</span>
                </li>
            <? endforeach ?>
        </ul>
    </div>
    <div class="side-item">
        <h4 class="side-title">热评文章</h4>
        <ul id="hot-side-list">
            <? foreach($sideHot as $s):?>
                <li><a class="blog-title" href="<?=$baseUrl.'post/'.$s->id.'/'?>"><?=$s->title?></a>
                    <span class="blog-comment">(<?=$s->commentNum?>)</span>
                </li>
            <? endforeach ?>
        </ul>
    </div>
</aside>